package com.java.goods.mapper;

import com.java.goods.entity.Desc;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 商品描述表 Mapper 接口
 * </p>
 *
 * @author jiangli
 * @since 2019-12-15
 */
public interface DescMapper extends BaseMapper<Desc> {

	@Select(" SELECT id AS id , itemDesc as itemDesc , created as created,updated as updated  FROM goods_desc  where id=#{id} ")
	Desc getItemDesc(Long id);
}
